//
//  YZSportMainViewConrollerViewController.m
//  runrun
//
//  Created by yongzhen on 16/10/21.
//  Copyright © 2016年 yongzhen. All rights reserved.
//

#import "YZSportMainViewConrollerViewController.h"
#import "YZSportSportingViewController.h"
#import "YZSportTracking.h"
@interface YZSportMainViewConrollerViewController ()

@end

@implementation YZSportMainViewConrollerViewController

- (IBAction)clickBtn:(UIButton *)sender {
    
    YZSportType type = sender.tag;
    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"YZSportSporting" bundle:nil];
    
    YZSportSportingViewController *sportVC = sb.instantiateInitialViewController;
    sportVC.sportType = type;
    [self presentViewController:sportVC animated:YES completion:nil];
    
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
